home *** CD-ROM | disk | FTP | other *** search
- #
- # Name: mandel.rl
- # Author: Marcus Geelnard
- # Date: 1-Jun-1996
- #
- # Example of the Mandelbrot set texture
- #
-
- Deftexture:
- pattern mandel
- colormap 5
- 0.0 0.0 0.0 0.0
- 0.1 1.0 0.0 0.0
- 0.6 1.0 0.0 1.0
- 0.8 1.0 1.0 0.0
- 1.0 0.4 0.4 0.5
- reflect 0.3 0.4 0.5
- phong 0.6
- phongsize 30
- transform:
- move 0.5 0 0
- scale 2 2 2
- :end
- :end
-
-
- #
- # This is a cylinder (with a round top) with a mandelbrot fractal on it:
- #
-
- Csg:
-
- Cylinder:
- radius 2.8
- start 0 0 -10 end 0 0 0
- :end
-
- PLUS
-
- Ellipsoid:
- radius 2.8 2.8 0.6
- centre 0 0 0
- :end
-
- :end
-
- deftexture: default :end
-
-
- #
- # Wow! Blurb makes terrific clouds!
- #
-
- Sphere:
- radius 2000
- centre 0 0 0
- texture:
- pattern blurb
- turbulence 0.6
- colormap 4
- 0.0 0.0 0.4 1.0
- 0.6 0.0 0.4 1.0
- 0.72 0.7 0.9 1.0
- 1.0 0.9 1.0 1.0
- ambient 1.0 diffuse 0 phong 0
- transform:
- scale 900 900 200
- move -400 -300 100
- :end
- :end
- :end
-
-
- #
- # Light-sources (the red light-source gives a nice effect):
- #
-
- Light:
- location -40 5 20
- color 1 1 1
- :end
-
-
- Light:
- location 30 10 15
- color 1 0 0
- :end
-
-
- #
- # This is the camera:
- #
-
- Camera:
- location 8 -6 4.2
- viewpoint -0.5 -0.3 -1
- :end
-
-
-